package org.example.web;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TaskStatusEnum {
    NOT_STARTED(0, "未开始"),
    STARTED(1, "进行中"),
    FINISHED(2, "已完成"),
    FAILED(3, "失败");;
    private final Integer code;
    private final String desc;
}
